package lab02.test06;

public class Ladder {
    double upSide;
    double downSide;
    double high;
    double proportion;
    public double getProportion(){
        proportion=(upSide+downSide)*high/2;
        System.out.println(proportion);
        return proportion;
    }
}
